package cn.tedu.sp09.feign;


import cn.tedu.sp01.pojo.User;
import cn.tedu.web.util.JsonResult;
import org.springframework.stereotype.Component;



@Component
public class UserFeignClientFB implements  UserFeignClient {
    @Override
    public JsonResult<User> getUser(Integer userId){
        return JsonResult.err("无法获取订单列表");
    }

    @Override
    public JsonResult addScore(Integer userId,Integer score){
        return JsonResult.err("无法修改商品库存");
    }
}

